-
Home
-
Spectra – WordPress Gutenberg Blocks
-
2.18.0 (latest)
-
Code
-
Classes
- Token_Calculator
Total Complexity |
73 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
380 |
Lines of code |
256 |
Logical lines of code |
176 |
Comment lines |
108 |
Methods |
9 |
Properties |
0 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
gpt_encode() |
B |
36 |
20 |
80 |
gpt_bpe() |
B |
37 |
19 |
77 |
gpt_unichr() |
A |
50 |
15 |
24 |
gpt_utf8_encode() |
S |
54 |
4 |
20 |
gpt_split() |
S |
57 |
4 |
16 |
gpt_index_of() |
S |
60 |
4 |
14 |
gpt_dict_zip() |
S |
62 |
4 |
11 |
gpt_get_pairs() |
S |
62 |
2 |
11 |
gpt_filter() |
S |
77 |
1 |
3 |